<div class="contracts form">
<?php echo $form->create('Contract');?>
	<fieldset>
 		<legend><?php __('Добавить договор о внебюджетном обучении');?></legend>
		<table width="100%" border="0" cellspacing="10" cellpadding="0" bgcolor="#cccccc">
			<tr>
				<td colspan="2">Студент - 
			    <b>
			    <?php 
			    	echo $student['Studentinfo']['lastname'].' ';
			    	echo $student['Studentinfo']['firstname'].' ';
			    	echo $student['Studentinfo']['surname'].' ';
			    	echo $form->hidden('studentinfo_id', array('value' => $student['Studentinfo']['id']));
			    ?>
			    </b>
				</td>
			</tr>
			<tr>
				<td width="25%" class="labelblock">ДАННЫЕ ДОГОВОРА</td>
				<td>
					<?php 
					echo $form->input('data', array('label' => '', 'size' => 100));
					?>
				</td>
			</tr>
		</table> 		
	</fieldset>
<?php echo $form->end('Добавить');?>
</div>
<!--<div class="actions">
	<ul>
		<li><?php echo $html->link(__('List Contracts', true), array('action' => 'index'));?></li>
		<li><?php echo $html->link(__('List Students', true), array('controller' => 'students', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Student', true), array('controller' => 'students', 'action' => 'add')); ?> </li>
	</ul>
</div>
-->